package com.xinsoft.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.xinsoft.entity.dto.ScmPurchaseInstockDTO;
import com.xinsoft.entity.dto.ScmPurchaseInstockParam;
import com.xinsoft.entity.dto.ScmPurchaseReturnDTO;
import com.xinsoft.entity.po.ScmPurchaseInstock;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xinsoft.entity.vo.ScmPurchaseInstockPageVo;
import com.xinsoft.entity.vo.ScmPurchaseInstockVo;

import java.util.List;

/**
* @author ZYM
* @description 针对表【scm_purchase_instock(采购入库)】的数据库操作Service
* @createDate 2023-07-26 16:56:09
*/
public interface ScmPurchaseInstockService extends IService<ScmPurchaseInstock> {

    IPage<ScmPurchaseInstockPageVo> findPageListByParam(ScmPurchaseInstockParam param);

    List<ScmPurchaseInstockPageVo> findListByParam(ScmPurchaseInstockParam param);

    Integer tempSave(ScmPurchaseInstockDTO dto);

    ScmPurchaseInstockVo detail(Integer id);

    void del(List<Integer> ids);

    void audit(Integer id);

    void reverseAudit(Integer id);

    void saveAudit(ScmPurchaseInstockDTO dto);
}
